package com.yxhl.zoume.data.http.rest.response.passenger;

import com.google.gson.annotations.SerializedName;
import com.yxhl.zoume.data.http.model.passenger.ZMPassenger;
import com.yxhl.zoume.data.http.rest.response.base.BaseResponse;

import java.util.List;

/**
 * Created by Xboy on 16/3/18.
 */
public class GetPassengersResponse extends BaseResponse {

    @SerializedName("contracts")
    private List<ZMPassenger> addedPassengers;

    public List<ZMPassenger> getAddedPassengers() {
        return addedPassengers;
    }

    public GetPassengersResponse setAddedPassengers(List<ZMPassenger> addedPassengers) {
        this.addedPassengers = addedPassengers;
        return this;
    }

    @Override
    public String toString() {
        return "GetPassengersResponse{" +
                "addedPassengers=" + addedPassengers +
                '}';
    }

}
